// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import VueResource from 'vue-resource'
import App from './App'
import router from './router'
import YDUI from 'vue-ydui'
import HeadSearch from '@/components/HeadSearch'
import HeadNav from '@/components/HeadNav'
import FootTab from '@/components/FootTab'

import 'vue-ydui/dist/ydui.rem.css'
import './assets/style/public.css'

Vue.config.productionTip = false
Vue.use(VueResource)
Vue.use(YDUI)
Vue.component('head-search',HeadSearch)
Vue.component('head-nav',HeadNav)
Vue.component('foot-tab',FootTab)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
